package com.trs.publish.exception;

/**
 * @author jiahaihong
 *
 */
public class BusinessException extends RuntimeException{
	
	private Integer code;

	public BusinessException(ResultEnum resultEnum) {
		super(resultEnum.getMsg());
		this.code = code;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}
	
	
}
